<style tyle="text/css">
    .modal-lg {
        width: 80%;
    }
</style>
<div class="modal-header">
    <h4 class="modal-title">设备信息</h4>
</div>
<div class="modal-body">
    <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th style="width: 2%;text-align:center;">
                        <label class="i-checks m-b-none">
                            <input type="checkbox" class="form-control" ng-model="isAllSelected" style="width: 5%;">
                            <i></i>
                        </label>
                    </th>
                    <th class="text-center">设备号</th>
                    <th class="text-center">设备名</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="device in devicelist">
                    <td style="width: 2%;text-align:center;">
                        <label class="i-checks m-b-none">
                            <input type="checkbox" ng-model="device.isSelected">
                            <i></i>
                        </label>
                    </td>
                    <td>
                        {{device.code}}
                    </td>
                    <td>
                        {{device.name}}
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</div>

<div class="modal-footer">
    <button class="btn btn-success" type="button" ng-click="ok()">确定</button>
    <button class="btn btn-danger" type="button" ng-click="close()">关闭</button>
</div>